const navbar = [
  {
    text: '移动端',
    items: [
      { text: 'v1', link: '/mobile/v1/introduction' },
      { text: 'v2', link: '/mobile/v2/introduction' },
    ]
  }
]

const sidebar = {
  // v1
  '/mobile/v1/': [
    {
      isGroup: true,
      title: '基础说明',
      collapsable: false,
      children: [
        '/mobile/v1/introduction',
        '/mobile/v1/install',
      ]
    },
    {
      isGroup: true,
      title: '组件列表',
      collapsable: false,
      children: [
        '/mobile/v1/button',
      ]
    }
  ],
  // v2
  '/mobile/v2/': [
    {
      isGroup: true,
      title: '基础说明',
      collapsable: false,
      children: [
        '/mobile/v2/introduction',
        '/mobile/v2/install',
      ]
    },
    {
      isGroup: true,
      title: '组件列表',
      collapsable: false,
      children: [
        '/mobile/v2/toast',
        '/mobile/v2/pdf',
        '/mobile/v2/icon',
      ]
    }
  ],

}

module.exports = {
  navbar,
  sidebar,
}